import QtQuick
import QtQuick.Controls

Rectangle {
    property int _x
    property int _y
    property string _text
    property bool _visible

    x:_x-width/2
    y:_y-height/2
    width:100
    height:120
    radius:5
    opacity:0.4
    color:'#FF0000'

    visible: _visible

    Label {
        anchors.centerIn:parent
        text: parent._text
        color:'#ffffff'
        font.pointSize: 72
        font.bold:true
    }
}
